﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="lazy.aspx.cs" Inherits="lazy.lazy" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
<%--    写一个注册界面
用户名：
密码：不能明文显示
性别：只能单选
爱好：
籍贯：省  市
其它信息：多行文本框
头像：
提交按钮

提交后，在下方显示提交的数据。--%>

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:Label ID="Label1" runat="server" Text="用户名："></asp:Label><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <br />
            <asp:Label ID="Label2" runat="server" Text="密码："></asp:Label><asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
            <br />
            <table>
            <tr>
            <td>性别：</td><td><asp:RadioButtonList ID="RadioButtonList1" runat="server">
                <asp:ListItem>男</asp:ListItem>
                <asp:ListItem>女</asp:ListItem>
            </asp:RadioButtonList></td></tr></table>
            <asp:Label ID="Label4" runat="server" Text="爱好："></asp:Label><asp:TextBox ID="TextBox3" runat="server" ></asp:TextBox>
        <br />
            省份：<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"></asp:DropDownList>
        <br />
        <br />
            市区：<asp:DropDownList ID="DropDownList2" runat="server" ></asp:DropDownList>
        <br />
            头像：<asp:FileUpload ID="FileUpload1" runat="server" />
            
        <br />
            其它信息：<asp:TextBox ID="TextBox4" runat="server" TextMode="MultiLine"></asp:TextBox>
            <br />
            <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" style="height:21px"/>
            <asp:Label ID="Label3" runat="server" Text=""></asp:Label>
            <asp:Image ID="Image1" runat="server" />
        </div>
    </form>
</body>
</html>
